{include file="public/nheader" /}
<div class="layui-fluid layui-bg-white">
    <form action="{:url()}" class="layui-form layui-form-fixed">
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>账号:
            </label>
            <div class="layui-input-block">
                <input name="mobile" value="{$row.mobile|default=0}" style="border:none;display: inline-block;" class="layui-input" disabled onlyread />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>可用金额:
            </label>
            <div class="layui-input-block">
                <input name="money" value="{$row.money|default=0}" style="border:none;display: inline-block;" class="layui-input" disabled onlyread />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>类型:
            </label>
            <div class="layui-input-block">
                <input type="radio" name="type" value="1" title="充值" checked>
                <input type="radio" name="type" value="2" title="消费">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">
                <font color="red">* </font>变更金额:
            </label>
            <div class="layui-input-block">
                <input name="moneys" value="" placeholder="增减金额" type="number" class="layui-input"
                    lay-verify="required" />
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">变更说明:</label>
            <div class="layui-input-block">
                <textarea name="desc" placeholder="请输入内容" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-footer layui-form-item layui-center ">
            <input type="hidden" value="{$row['id']|default='0'}" name="id" />
            <button data-reload="parnet" class="layui-btn" lay-filter="submitIframe" type="button" lay-submit>提交</button>
            <button class="layui-btn layui-btn-primary" type="button" sa-event="closeDialog">取消</button>
        </div>
    </form>
</div>
{include file="public/nfooter" /}